package encomendaFacil.impl;

import java.util.Map;

import javax.jws.WebMethod;
import javax.jws.WebService;

import encomendaFacil.bean.User;

@WebService
public interface UserService {

	@WebMethod
	public User insert(Map<String, Object> data);
	
	@WebMethod
	public User modify(Map<String, Object> data);
	
	@WebMethod
	public void remove(Long id);
	
	@WebMethod
	boolean alterPassword(String password, Long id);
	
	@WebMethod
	User login(String login, String password);
}
